runtime._defer.fn (field)
10 uses
runtime (current package)
heapdump.go#L385: fn := *(**funcval)(unsafe.Pointer(&d.fn))
heapdump.go#L387: if d.fn == nil {
mgcmark.go#L896: if d.fn != nil {
mgcmark.go#L899: scanblock(uintptr(unsafe.Pointer(&d.fn)), goarch.PtrSize, &oneptrmask[0], gcw, &state)
panic.go#L282: d.fn = fn
panic.go#L428: d1.fn = fn
panic.go#L554: d.fn = nil // Can in theory point to the stack
panic.go#L915: fn := d.fn
runtime2.go#L998: fn func() // can be nil for open-coded defers
stack.go#L777: adjustpointer(adjinfo, unsafe.Pointer(&d.fn))
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |